package com.aspose.cells;

import java.util.Iterator;

class ztj {
   private znw a;
   private ShapePropertyCollection b;
   private Workbook c;
   private boolean d = false;
   private zny e;

   static boolean a(zcfx var0, znw var1, ShapePropertyCollection var2) throws Exception {
      if (var2 == null) {
         return false;
      } else {
         ztj var3 = new ztj(var1, var2);
         return var3.a(var0);
      }
   }

   private ztj(znw var1, ShapePropertyCollection var2) {
      this.a = var1;
      this.c = var1.a().a;
      this.b = var2;
   }

   ztj(zny var1) {
      this.d = true;
      this.e = var1;
      this.c = var1.j.a;
   }

   private boolean a(zcfx var1) throws Exception {
      Area var2 = this.b.k();
      Line var3 = this.b.m();
      if (var3 == null && this.b.b == 8) {
         Series var4 = (Series)this.b.a;
         if (var4.getType() == 60) {
            var3 = var4.s().g();
         }
      }

      boolean var10 = this.a(var2);
      boolean var5 = var3 != null && !var3.isAuto();
      boolean var6 = this.a();
      if (!var10 && !var5 && !var6) {
         return false;
      } else {
         var1.c("c:spPr", (String)null);
         ChartPoint var7;
         Series var8;
         if (var10) {
            this.a(var1, var2.getFillFormat());
         } else if (this.b.b == 5 && this.b.a instanceof ChartPoint) {
            var7 = (ChartPoint)this.b.a;
            var8 = var7.a();
            if (var8 != null) {
               Area var9 = var8.getShapeProperties().k();
               if (var9 != null && this.a(var2)) {
                  this.a(var1, var9.getFillFormat());
               }
            }
         }

         if (var5) {
            this.a(var1, var3);
         } else if (this.b.b == 5 && this.b.a instanceof ChartPoint) {
            var7 = (ChartPoint)this.b.a;
            var8 = var7.a();
            if (var8 != null) {
               Line var11 = var8.getShapeProperties().m();
               if (var11 != null && !var11.isAuto()) {
                  this.a(var1, var11);
               }
            }
         }

         this.d(var1);
         this.c(var1);
         this.b(var1);
         var1.b();
         return true;
      }
   }

   private boolean a() {
      return this.b.f() != null && !this.b.f().a() || this.b.d() != null || this.b.b() != null;
   }

   private void b(zcfx var1) throws Exception {
      zbnv var2 = this.b.b();
      if (var2 == null && this.b.b == 5 && this.b.a instanceof ChartPoint) {
         ChartPoint var3 = (ChartPoint)this.b.a;
         Series var4 = var3.a();
         if (var4 != null) {
            zbnv var5 = var4.getShapeProperties().b();
            if (var5 != null) {
               this.b.c().a(var5);
               var2 = this.b.b();
            }
         }
      }

      if (var2 != null) {
         var1.c("a:sp3d", (String)null);
         if (var2.e != 0) {
            var1.a("z", zase.y(var2.e));
         }

         if (var2.d != 0) {
            var1.a("extrusionH", zase.y(var2.d));
         }

         if (var2.c != 0) {
            var1.a("contourW", zase.y(var2.c));
         }

         if (var2.e() != 14) {
            var1.a("prstMaterial", zase.ay(var2.e()));
         }

         if (var2.c() != null) {
            this.a(var1, var2.c(), "bevelT");
         }

         if (var2.a() != null) {
            this.a(var1, var2.a(), "bevelB");
         }

         if (var2.b != null) {
            var1.c("a:extrusionClr", (String)null);
            a(var1, var2.b, -1, this.c);
            var1.b();
         }

         if (var2.a != null) {
            var1.c("a:contourClr", (String)null);
            a(var1, var2.a, -1, this.c);
            var1.b();
         }

         var1.b();
      }
   }

   private void a(zcfx var1, Bevel var2, String var3) throws Exception {
      if (var2.getType() != 0) {
         var1.c("a:" + var3, (String)null);
         if (var2.a != 76200) {
            var1.a("w", zase.y(var2.a));
         }

         if (var2.b != 76200) {
            var1.a("h", zase.y(var2.b));
         }

         if (var2.getType() != 3) {
            var1.a("prst", zase.az(var2.getType()));
         }

         var1.b();
      }
   }

   private void c(zcfx var1) throws Exception {
      zbcc var2 = this.b.d();
      if (var2 == null && this.b.b == 5 && this.b.a instanceof ChartPoint) {
         ChartPoint var3 = (ChartPoint)this.b.a;
         Series var4 = var3.a();
         if (var4 != null) {
            zbcc var5 = var4.getShapeProperties().d();
            if (var5 != null) {
               this.b.e().a(var5);
               var2 = this.b.d();
            }
         }
      }

      if (var2 != null) {
         var1.c("a:scene3d", (String)null);
         this.a(var1, var2.a());
         this.a(var1, var2.b());
         if (var2.c() != null) {
            this.a(var1, var2.c());
         }

         var1.b();
      }
   }

   private void a(zcfx var1, zcc var2) throws Exception {
      var1.c("a:backdrop", (String)null);
      this.a(var1, var2.b, "anchor", "");
      this.a(var1, var2.c, "norm", "d");
      this.a(var1, var2.d, "up", "d");
      var1.b();
   }

   private void a(zcfx var1, zaos var2, String var3, String var4) throws Exception {
      var1.c("a:" + var3, (String)null);
      var1.a(var4 + "x", zase.y(var2.a));
      var1.a(var4 + "y", zase.y(var2.b));
      var1.a(var4 + "z", zase.y(var2.c));
      var1.b();
   }

   private void a(zcfx var1, zalk var2) throws Exception {
      var1.c("a:lightRig", (String)null);
      var1.a("rig", zase.aw(var2.b()));
      var1.a("dir", zase.ax(var2.c()));
      if (var2.a != null) {
         this.a(var1, var2.a);
      }

      var1.b();
   }

   private void a(zcfx var1, zbcd var2) throws Exception {
      var1.c("a:camera", (String)null);
      var1.a("prst", zase.av(var2.a()));
      if (var2.b != 0) {
         var1.a("fov", zase.y(var2.b));
      }

      if (var2.a != 100000) {
         var1.a("zoom", zase.y(var2.a));
      }

      if (var2.c != null) {
         this.a(var1, var2.c);
      }

      var1.b();
   }

   private void a(zcfx var1, zbav var2) throws Exception {
      var1.c("a:rot", (String)null);
      var1.a("lat", zase.y(var2.a));
      var1.a("lon", zase.y(var2.b));
      var1.a("rev", zase.y(var2.c));
      var1.b();
   }

   private void d(zcfx var1) throws Exception {
      zsb var2 = this.b.f();
      if ((var2 == null || var2.a()) && this.b.b == 5 && this.b.a instanceof ChartPoint) {
         ChartPoint var3 = (ChartPoint)this.b.a;
         Series var4 = var3.a();
         if (var4 != null) {
            zsb var5 = var4.getShapeProperties().f();
            if (var5 != null && !var5.a()) {
               this.b.g().a(var5);
               var2 = this.b.f();
            }
         }
      }

      if (var2 != null) {
         var1.c("a:effectLst", (String)null);
         if (var2.c() != null) {
            this.a(var1, var2.c());
         }

         if (var2.e() != null) {
            this.a(var1, var2.e());
         }

         if (var2.h() != null) {
            this.a(var1, var2.h());
         } else if (var2.j() != null) {
            this.a(var1, var2.j());
         } else if (var2.l() != null) {
            this.a(var1, var2.l());
         }

         if (var2.n() != null) {
            this.a(var1, var2.n());
         }

         if (var2.o() >= 0) {
            var1.c("a:softEdge", (String)null);
            var1.a("rad", zase.y(var2.o()));
            var1.b();
         }

         var1.b();
      }
   }

   private void a(zcfx var1, zaza var2) throws Exception {
      var1.c("a:OuterShdw", (String)null);
      if (var2.a != 0) {
         var1.a("blurRad", zase.y(var2.a));
      }

      if (var2.k != 100000) {
         var1.a("stA", zase.y(var2.k));
      }

      if (var2.l != 0) {
         var1.a("stPos", zase.y(var2.l));
      }

      if (var2.e != 0) {
         var1.a("endA", zase.y(var2.e));
      }

      if (var2.f != 100000) {
         var1.a("endPos", zase.y(var2.f));
      }

      if (var2.d != 0.0D) {
         var1.a("dist", zase.b(var2.d));
      }

      if (var2.c != 0.0D) {
         var1.a("dir", zase.b(var2.c));
      }

      if (var2.g != 0.0D) {
         var1.a("fadeDir", zase.b(var2.g));
      }

      if (var2.m != 100000.0D) {
         var1.a("sx", zase.b(var2.m));
      }

      if (var2.n != 100000.0D) {
         var1.a("sy", zase.b(var2.n));
      }

      if (var2.h != 0.0D) {
         var1.a("kx", zase.b(var2.h));
      }

      if (var2.i != 0.0D) {
         var1.a("ky", zase.b(var2.i));
      }

      if (var2.b != 0) {
         var1.a("algn", zase.an(var2.b));
      }

      if (!var2.j) {
         var1.a("rotWithShape", "0");
      }

      var1.b();
   }

   private void a(zcfx var1, zavi var2) throws Exception {
      var1.c("a:prstShdw", (String)null);
      if (var2.b != null && var2.b.length() != 0) {
         var1.a("prst", var2.b);
      }

      if (var2.d != 0) {
         var1.a("dist", zase.y(var2.d));
      }

      if (var2.c != 0) {
         var1.a("dir", zase.y(var2.c));
      }

      if (var2.a != null) {
         a(var1, var2.a, this.c, false);
      }

      var1.b();
   }

   private void a(zcfx var1, zasi var2) throws Exception {
      var1.c("a:outerShdw", (String)null);
      if (var2.b != 0) {
         var1.a("blurRad", zase.y(var2.b));
      }

      if (var2.e != 0) {
         var1.a("dist", zase.y(var2.e));
      }

      if (var2.d != 0) {
         var1.a("dir", zase.y(var2.d));
      }

      if (var2.i != 100000) {
         var1.a("sx", zase.y(var2.i));
      }

      if (var2.j != 100000) {
         var1.a("sy", zase.y(var2.j));
      }

      if (var2.f != 0) {
         var1.a("kx", zase.y(var2.f));
      }

      if (var2.g != 0) {
         var1.a("ky", zase.y(var2.g));
      }

      if (var2.c != 0) {
         var1.a("algn", zase.an(var2.c));
      }

      if (!var2.h) {
         var1.a("rotWithShape", "0");
      }

      if (var2.a != null) {
         boolean var3 = this.a(var2.b());
         a(var1, var2.a, this.c, var3);
      }

      var1.b();
   }

   private boolean a(CellsColor var1) {
      return !var1.a.a() && var1.a.b() == 2 && var1.a.d() == 0;
   }

   private void a(zcfx var1, zakj var2) throws Exception {
      var1.c("a:innerShdw", (String)null);
      if (var2.b != 0) {
         var1.a("blurRad", zase.y(var2.b));
      }

      if (var2.d != 0) {
         var1.a("dist", zase.y(var2.d));
      }

      if (var2.c != 0) {
         var1.a("dir", zase.y(var2.c));
      }

      if (var2.a != null) {
         boolean var3 = this.a(var2.b());
         a(var1, var2.a, this.c, var3);
      }

      var1.b();
   }

   private void a(zcfx var1, GlowEffect var2) throws Exception {
      if (var2.a()) {
         var1.c("a:glow", (String)null);
         if (var2.b != 0) {
            var1.a("rad", zase.y(var2.b));
         }

         if (var2.a != null) {
            a(var1, var2.a, this.c, false);
         }

         var1.b();
      }
   }

   private void a(zcfx var1, zcw var2) throws Exception {
      var1.c("a:blur", (String)null);
      if (var2.a != 0) {
         var1.a("rad", zase.y(var2.a));
      }

      if (!var2.a()) {
         var1.a("grow", "0");
      }

      var1.b();
   }

   private boolean a(Area var1) {
      boolean var2 = var1 != null && var1.getFormatting() != 0;
      if (var2 && var1.getFillFormat().getType() == 5 && var1.getFillFormat().getPattern() == 1 && var1.getFillFormat().getPatternFill().b.a()) {
         var2 = false;
      }

      return var2;
   }

   void a(zcfx var1, FillFormat var2) throws Exception {
      if (var2.getType() == 1) {
         var1.b("a:noFill", (String)null);
      } else if (var2.getType() == 6) {
         var1.b("a:grpFill", (String)null);
      } else if (var2.getType() == 3) {
         GradientFill var3 = var2.getGradientFill();
         this.a(var1, var3);
      } else if (var2.getType() == 5) {
         this.c(var1, var2);
      } else if (var2.getType() == 4) {
         this.b(var1, var2);
      } else if (var2.getType() == 2) {
         var1.c("a:solidFill", (String)null);
         a(var1, var2.getSolidFill().a, -1, this.c);
         var1.b();
      }

   }

   private void b(zcfx var1, FillFormat var2) throws Exception {
      TextureFill var3 = var2.getTextureFill();
      String var4 = null;
      if (this.d) {
         var4 = this.e.k.a(var3.getImageData());
      } else {
         var4 = this.a.a(var3.getImageData());
      }

      var1.c("a:blipFill", (String)null);
      var1.c("a:blip", (String)null);
      var1.a("r:embed", var4);
      if (var3.d() != 100000) {
         var1.c("a:alphaModFix", (String)null);
         var1.a("amt", zase.y(var3.d()));
         var1.b();
      }

      var1.b();
      var1.b("a:srcRect", (String)null);
      if (var3.isTiling()) {
         this.a(var1, var3);
      } else {
         this.b(var1, var3);
      }

      var1.b();
   }

   private void a(zcfx var1, TextureFill var2) throws Exception {
      TilePicOption var3 = var2.getTilePicOption();
      var1.c("a:tile", (String)null);
      if (var3.getOffsetX() != 0.0D) {
         var1.a("tx", zase.y((int)var3.getOffsetX()));
      }

      if (var3.getOffsetY() != 0.0D) {
         var1.a("ty", zase.y((int)var3.getOffsetY()));
      }

      if (var3.getScaleX() != 0.0D) {
         var1.a("sx", zase.y((int)var3.getScaleX() * 1000));
      }

      if (var3.getScaleY() != 0.0D) {
         var1.a("sy", zase.y((int)var3.getScaleY() * 1000));
      }

      var1.a("flip", zase.am(var3.getMirrorType()));
      var1.a("algn", zase.an(var3.getAlignmentType()));
      var1.b();
   }

   private void b(zcfx var1, TextureFill var2) throws Exception {
      PicFormatOption var3 = var2.getPicFormatOption();
      var1.c("a:stretch", (String)null);
      var1.c("a:fillRect", (String)null);
      if ((double)var3.e() != 0.0D) {
         var1.a("l", zase.y(var3.e()));
      }

      if ((double)var3.f() != 0.0D) {
         var1.a("t", zase.y(var3.f()));
      }

      if ((double)var3.g() != 0.0D) {
         var1.a("r", zase.y(var3.g()));
      }

      if ((double)var3.h() != 0.0D) {
         var1.a("b", zase.y(var3.h()));
      }

      var1.b();
      var1.b();
   }

   private void a(zcfx var1, GradientFill var2) throws Exception {
      var1.c("a:gradFill", (String)null);
      String var3 = var2.c ? "1" : "0";
      var1.a("rotWithShape", var3);
      if (var2.getGradientStops().getCount() > 0) {
         var1.c("a:gsLst", (String)null);

         for(int var4 = 0; var4 < var2.getGradientStops().getCount(); ++var4) {
            GradientStop var5 = var2.getGradientStops().get(var4);
            var1.c("a:gs", (String)null);
            var1.a("pos", zase.a(com.aspose.cells.b.a.zq.a(var5.getPosition() * 1000.0D)));
            a(var1, var5.a, -1, this.c);
            var1.b();
         }

         var1.b();
      }

      if (var2.b != null) {
         if (var2.a()) {
            var1.c("a:lin", (String)null);
            var1.a("ang", zase.y(var2.b().a));
            if (var2.b().b) {
               var1.a("scaled", "1");
            }

            var1.b();
         } else {
            zaco var6 = var2.c();
            var1.c("a:path", (String)null);
            var1.a("path", zase.aj(var6.a));
            this.a(var1, var6, "fillToRect");
            var1.b();
         }
      }

      if (var2.e() != null) {
         this.a(var1, var2.e(), "tileRect");
      }

      var1.b();
   }

   private void a(zcfx var1, zaco var2, String var3) throws Exception {
      var1.c("a:" + var3, (String)null);
      if (var2.b != 0) {
         var1.a("l", zase.y(var2.b));
      }

      if (var2.c != 0) {
         var1.a("t", zase.y(var2.c));
      }

      if (var2.e != 0) {
         var1.a("r", zase.y(var2.e));
      }

      if (var2.d != 0) {
         var1.a("b", zase.y(var2.d));
      }

      var1.b();
   }

   private void c(zcfx var1, FillFormat var2) throws Exception {
      PatternFill var3 = var2.getPatternFill();
      String var4 = zase.Q(var3.getPattern());
      var1.c("a:pattFill", (String)null);
      var1.a("prst", var4);
      var1.c("a:fgClr", (String)null);
      int var5 = var3.a() == 100 ? -1 : var3.a() * 1000;
      a(var1, var3.b, var5, this.c);
      var1.b();
      var1.c("a:bgClr", (String)null);
      var5 = var3.b() == 100 ? -1 : var3.b() * 1000;
      a(var1, var3.a, var5, this.c);
      var1.b();
      var1.b();
   }

   private void a(zcfx var1, Line var2) throws Exception {
      var1.c("a:ln", (String)null);
      Object var3 = null;
      String var4;
      if (var2.j()) {
         var4 = zase.y(zase.a(var2.getWeightPt()));
         var1.a("w", var4);
      }

      if (var2.isVisible()) {
         var3 = var2.g().a(2);
         int var5;
         if (var3 != null) {
            var5 = (Integer)var3;
            var1.a("cap", zasd.b(var5));
         }

         var3 = var2.g().a(0);
         if (var3 != null) {
            var5 = (Integer)var3;
            var1.a("cmpd", zase.n(var5));
         }
      }

      if (!var2.isVisible()) {
         var1.b("a:noFill", (String)null);
      } else if (var2.getStyle() != 8 && var2.getStyle() != 7 && var2.getStyle() != 6) {
         if (var2.getFormattingType() == 3 && var2.getGradientFill() != null) {
            this.a(var1, var2.getGradientFill());
         } else if (var2.getFormattingType() == 1 && !var2.getColor().isEmpty()) {
            this.c(var1, var2);
         }
      } else {
         this.d(var1, var2);
      }

      var3 = var2.g().a(1);
      if (var3 != null) {
         var4 = zasd.a(var2.getDashType());
         a(var1, "a", "prstDash", var4);
      }

      this.b(var1, var2);
      this.a(var1, var2, true);
      this.a(var1, var2, false);
      var1.b();
   }

   private void a(zcfx var1, Line var2, boolean var3) throws Exception {
      Object var4 = null;
      Object var5 = null;
      Object var6 = null;
      String var7 = null;
      if (var3) {
         var4 = var2.g().a(4);
         var5 = var2.g().a(5);
         var6 = var2.g().a(6);
         var7 = "headEnd";
      } else {
         var4 = var2.g().a(7);
         var5 = var2.g().a(8);
         var6 = var2.g().a(9);
         var7 = "tailEnd";
      }

      if (var6 != null || var4 != null || var5 != null) {
         var1.c("a:" + var7, (String)null);
         if (var4 != null) {
            var1.a("type", zasd.c((Integer)var4));
         }

         if (var5 != null) {
            var1.a("w", zasd.e((Integer)var5));
         }

         if (var6 != null) {
            var1.a("len", zasd.d((Integer)var6));
         }

         var1.b();
      }
   }

   private void b(zcfx var1, Line var2) throws Exception {
      Object var3 = var2.g().a(3);
      if (var3 != null) {
         int var4 = (Integer)var3;
         if (var4 == 1) {
            var1.b("a:bevel", (String)null);
         } else if (var4 == 2) {
            var1.c("a:miter", (String)null);
            var1.a("lim", "800000");
            var1.b();
         } else if (var4 == 0) {
            var1.b("a:round", (String)null);
         }
      }

   }

   private void c(zcfx var1, Line var2) throws Exception {
      var1.c("a:solidFill", (String)null);
      a(var1, var2.b, -1, this.c);
      var1.b();
   }

   private void d(zcfx var1, Line var2) throws Exception {
      String var3 = "pct25";
      if (var2.getStyle() == 7) {
         var3 = "pct50";
      } else if (var2.getStyle() == 6) {
         var3 = "pct75";
      }

      var1.c("a:pattFill", (String)null);
      var1.a("prst", var3);
      var1.c("a:fgClr", (String)null);
      a(var1, "a", "srgbClr", "000000");
      var1.b();
      var1.c("a:bgClr", (String)null);
      a(var1, "a", "srgbClr", "FFFFFF");
      var1.b();
      var1.b();
   }

   static void a(zcfx var0, zakp var1, Workbook var2, boolean var3) throws Exception {
      boolean var4 = false;
      if (var3) {
         String var5 = zase.aA(var1.c(var2));
         if (var5 != null) {
            var0.c("a", "prstClr", (String)null);
            var0.a("val", var5);
            var4 = true;
         }
      }

      if (!var4) {
         if (var1.b() == 4) {
            var0.c("a", "schemeClr", (String)null);
            var0.a("val", zase.af(var1.d()));
         } else {
            var0.c("a", "srgbClr", (String)null);
            if (var1.b() == 2) {
               var0.a("val", zase.a(Color.fromArgb(var1.d())));
            } else {
               var0.a("val", zase.a(var1.b(var2)));
            }
         }
      }

      if (var1.i() != null) {
         Iterator var8 = var1.j().iterator();

         label41:
         while(true) {
            while(true) {
               zkf var6;
               String var7;
               do {
                  if (!var8.hasNext()) {
                     break label41;
                  }

                  var6 = (zkf)var8.next();
                  var7 = a(var6.a);
               } while(var7 == null);

               if (var6.a != 23 && var6.a != 24) {
                  a(var0, "a", var7, zase.y(var6.b));
               } else {
                  var0.b("a:" + var7, (String)null);
               }
            }
         }
      }

      var0.b();
   }

   static void a(zcfx var0, zakp var1, int var2, Workbook var3) throws Exception {
      a(var0, var1, var2, var3, false);
   }

   static void a(zcfx var0, zakp var1, int var2, Workbook var3, boolean var4) throws Exception {
      boolean var5 = false;
      if (var4) {
         String var6 = zase.aA(var1.c(var3));
         if (var6 != null) {
            var0.c("a", "prstClr", (String)null);
            var0.a("val", var6);
            var5 = true;
         }
      }

      if (!var5) {
         if (var1.b() == 4) {
            var0.c("a", "schemeClr", (String)null);
            var0.a("val", zase.af(var1.d()));
         } else {
            var0.c("a", "srgbClr", (String)null);
            if (var1.b() == 2) {
               var0.a("val", zase.a(Color.fromArgb(var1.d())));
            } else {
               var0.a("val", zase.a(var1.b(var3)));
            }
         }
      }

      boolean var10 = false;
      if (var2 != -1) {
         var10 = a(var1, var2);
      }

      if (var1.i() != null) {
         Iterator var7 = var1.j().iterator();

         label48:
         while(true) {
            while(true) {
               zkf var8;
               String var9;
               do {
                  if (!var7.hasNext()) {
                     break label48;
                  }

                  var8 = (zkf)var7.next();
                  var9 = a(var8.a);
               } while(var9 == null);

               if (var8.a != 23 && var8.a != 24) {
                  a(var0, "a", var9, zase.y(var8.b));
               } else {
                  var0.b("a:" + var9, (String)null);
               }
            }
         }
      }

      if (var10) {
         var1.j().c(2);
      }

      var0.b();
   }

   private static boolean a(zakp var0, int var1) {
      if (var1 != -1) {
         zkf var2 = var0.j().b(2);
         if (var2 == null) {
            var0.j().a(2, var1);
            return true;
         }

         var2.b = var1;
      }

      return false;
   }

   private static String a(int var0) {
      switch(var0) {
      case 0:
         return "tint";
      case 1:
         return "shade";
      case 2:
         return "alpha";
      case 3:
         return "alphaMod";
      case 4:
         return "alphaOff";
      case 5:
         return "red";
      case 6:
         return "redMod";
      case 7:
         return "redOff";
      case 8:
         return "green";
      case 9:
         return "greenMod";
      case 10:
         return "greenOff";
      case 11:
         return "blue";
      case 12:
         return "blueMod";
      case 13:
         return "blueOff";
      case 14:
         return "hue";
      case 15:
         return "hueMod";
      case 16:
         return "hueOff";
      case 17:
         return "sat";
      case 18:
         return "satMod";
      case 19:
         return "satOff";
      case 20:
         return "lum";
      case 21:
         return "lumMod";
      case 22:
         return "lumOff";
      case 23:
         return "gamma";
      case 24:
         return "invGamma";
      case 25:
         return "comp";
      case 26:
         return "gray";
      case 27:
         return "inv";
      default:
         return null;
      }
   }

   private static void a(zcfx var0, String var1, String var2, String var3) throws Exception {
      var0.c(var1 + ":" + var2, (String)null);
      var0.a("val", var3);
      var0.b();
   }
}
